package com.xydpeng.tech.order.enums;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2024/12/11
 * @description: 订单售后状态枚举
 */
public enum AfterSaleStateEnum {
    NONE((byte) 0, "未退款"),
    PART((byte) 5, "部分退款"),
    ALL((byte) 10, "全部退款");
    /**
     * 状态值
     */
    private final Byte code;
    /**
     * 状态名
     */
    private final String name;

    AfterSaleStateEnum(Byte code, String name) {
        this.code = code;
        this.name = name;
    }
}
